﻿using Managistics.Warehouse.Configuration;
using Managistics.Warehouse.Controllers.Interfaces;
using Managistics.Warehouse.Views.Interfaces;
using Managistics.Warehouse.Factories;
using Managistics.Core.Services;

namespace Managistics.Warehouse.Controllers
{
    public class InventoryCalculateTotalController : IInventoryCalculateTotalController
    {
        readonly ICalculateTotalInOutputView fromCalculateTotalView;

        public InventoryCalculateTotalController(ICalculateTotalInOutputView fromCalculateTotalView)
        {
            this.fromCalculateTotalView = fromCalculateTotalView;
        }

        public void Run()
        {
            fromCalculateTotalView.Open();
        }

        public void Stop(string key) { }
    }
}